package com.onlyxiahui.common.message.request;

/**
 * 
 * Date 2018-12-25 09:41:05<br>
 * Description 用于发送请求时的消息体，body需要传进来<br>
 * Body body = new Body();<br>
 * body.setName("body");<br>
 * 
 * RequestBodyMessage rm = new RequestBodyMessage();<br>
 * rm.setBody(body);
 * 
 * @author XiaHui<br>
 * @since 1.0.0
 */
public class RequestBodyMessage extends AbstractRequestMessage<Object> {

	private static final long serialVersionUID = 1L;
	private Object body = new Object();

	public RequestBodyMessage() {
		put("body", body);
	}

	public Object getBody() {
		return body;
	}

	public void setBody(Object body) {
		this.body = body;
		put("body", body);
	}
}
